import request from '@/router/axios';

//问题看板列表
export const getBoardList = (params) => {
    return request({
        url: '/api/hg-public/tasktrack/problemBoard',
        method: 'POST',
        data: {
            ...params,
        }
    })
}
//问题看板列表
export const getProblemList = (params) => {
    return request({
        url: '/api/hg-public/tasktrack/problemPointList',
        method: 'POST',
        data: {
            ...params,
        }
    })
}
//问题处理列表
export const getDealList = (params) => {
    return request({
        url: '/api/hg-public/tasktrack/handleProblemList',
        method: 'post',
        data: {
            ...params,
        }
    })
}
//问题处理 提交审批
export const submitDeal = (taskTrackId) => {
    return request({
        url: '/api/hg-public/tasktrack/start-process',
        method: 'get',
        params: {
            taskTrackId,
        }
    })
}